package com.refuel.enumeration;

import io.swagger.v3.oas.annotations.media.Schema;

/**
 * @author zhanghao
 * @description 活动状态枚举
 * @date 2024/5/17 13:46
 **/
@Schema(description = "活动状态枚举")
public enum ActivityStatus {

    /**
     * 未开始
     */
    @Schema(description = "未开始")
    NOT_STARTED("NOT_STARTED", "未开始"),

    /**
     * 进行中
     */
    @Schema(description = "进行中")
    IN_PROCESS("IN_PROCESS", "进行中"),

    /**
     * 已结束
     */
    @Schema(description = "已结束")
    ENDED("ENDED", "已结束"),

    /**
     * 已取消
     */
    @Schema(description = "已取消")
    CANCELLED("CANCELLED", "已取消"),
    ;


    /**
     * 名称
     */
    private String name;

    /**
     * 描述
     */
    private String desc;

    ActivityStatus(String name, String desc) {
        this.name = name;
        this.desc = desc;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
